package com.example.demo.task;

import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.JavaDelegate;

/**
 * 自动逻辑，审批通过后，邮件通知发起人结果
 *
 * @Author hweiyu
 * @Description
 * @Date 2022/7/11 10:31
 */
public class EmailJavaDelegate implements JavaDelegate {

    @Override
    public void execute(DelegateExecution execution) {
        System.out.println("...发送邮件...");
    }
}
